package com.itheima.mapper.umsMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.domain.db.ums.UmsMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


@Mapper
public interface UmsMenuMapper extends BaseMapper<UmsMenu> {
    /**
     * 修改菜单状态
     * @param hidden
     * @param id
     */
    @Update("update UmsMenu set hidden=#{hidden} where id=#{id}")
    void updateMenuStatu(Integer hidden,@Param("id") Integer id);
}
